package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * @author 龙 路 飞
 * @CreateDate: 2021-11-23 14:45
 * @Description:
 */

@Getter
public enum LogManipulateTypeEnum {
    /**
     * 注意: 加了新的操作类型需要在运营端和PC端的操作日志都做好操作类型验证
     */
    DEVICE_BIND(1, "设备绑定"),
    DEVICE_UNBIND(2, "设备解绑"),
    GIFT_BIND(3, "绑定礼品"),
    GIFT_UNBIND(4, "解绑礼品"),
    SEND_WELFARE(5, "派发福利"),
    REMOTE_START(6, "远程启动"),
    SUB_ACCOUNT_OPERATE(7, "子账号操作"),
    SITE_OPERATE(8, "场地操作"),
    PACKAGE_OPERATE(9, "套餐操作"),
    NETWORK_CARD_BUY(10, "网卡购买"),
    REFUND_OPERATE(11, "退款操作"),
    BLACK_LIST_OPERATE(12, "黑名单操作"),
    GOODS_OPERATE(13, "商品操作"),
    GOODS_TYPE_OPERATE(14, "商品类型操作");

    private Integer code;
    private String desc;

    LogManipulateTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
